package com.cmccgz.udacs_landlord_webapp.main.peoplemanager.contract;

import com.cmccgz.baselibrary.base.BasePresenter;
import com.cmccgz.baselibrary.base.BaseView;
import com.cmccgz.udacs_landlord_webapp.bean.CardMsg;
import com.cmccgz.udacs_landlord_webapp.bean.ExchangeCard;

import java.util.List;

/**
 * @author Denis
 * @ClassName: DelayContract
 * @Description: 换卡界面
 * @date 2017/6/7 11:16
 */

public interface ExchangeContract {
    interface Presenter extends BasePresenter {
        void exChangeCard(String user_mobile, String house_id, List<ExchangeCard> cards);

        void getCardMsg(String user_mobile, String house_id);

    }

    interface View extends BaseView<Presenter> {
        void exChangeCardSucce(String resultCode);

        void loadingData();

        void finishGetData(CardMsg cardMsg);
    }
}
